package com.book.book.service;

import com.book.book.domain.WantSeeDO;
import com.book.common.utils.Query;
import com.book.iphone.domain.WashDo;

import java.util.List;
import java.util.Map;

/**
 * 用户心愿表
 * 
 * @author siyuan
 * @email 894266364@qq.com
 * @date 2018-01-30 16:51:09
 */
public interface WantSeeService {
	
	WantSeeDO get(Integer id);
	
	List<WantSeeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(WantSeeDO wantSee);
	
	int update(WantSeeDO wantSee);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	/**
	 * 附带 用户信息的查询
	 * @param map
	 * @return
	 */
	List<WantSeeDO> listWithUserInfo(Map<String, Object> map);

	List<WashDo> listPersonalWishByUserId(String userId);
}
